import React from 'react';
import { Picker } from 'antd-mobile';
import styles from './index.less';

const CustomPicker = React.forwardRef(({ children, ...rest }, ref) => (
    <Picker ref={ref} className={styles.customPicker} {...rest}>
        {children}
    </Picker>
));

export default CustomPicker;
